This article explores the use of augmented reality (AR) in robotics. Explores interactive programming lessons, allowing students to interact with virtual robots in real time, changing code and seeing the results of their actions. Simulation of real scenarios of robot operation in a virtual environment is also discussed, which simplifies the understanding of the principles of operation and programming of robots. These innovations make learning more interactive, enhancing learning and developing robotics programming skills.